home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / hardware / summa / test / README < prev   
Encoding:
Text File  |  1994-08-02  |  670 b   |  15 lines

  1. The code in this directory makes it possible to test
  2. device streams modules without linking them into the
  3. kernel.   To use this test code, place the code to your
  4. streams module in ../io and add your module to the list
  5. of modules in Makefile.   Modify inputtest.c (as described
  6. in comments in the file) to use your device and run:
  7.      % make
  8. in this directory.   Next, link the tty device to which your
  9. device is connected to /dev/input/<name> where <name> is the
  10. name of your streams module.  Now simply run:
  11.      % inputtest <name>
  12. where name is the name of your streams module.    inputtest
  13. should print messages whenever a valuator or button on your
  14. device changes.
  15.